package com.aaa.web.service.impl.webloginserviceimpl;


import com.aaa.entity.BackRole;
import com.aaa.entity.Employee;
import com.aaa.web.dao.iweblogindao.IWebLoginDao;
import com.aaa.web.service.iwebloginservice.IWebLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author yyh
 * @date 2018/12/26
 * @time 9:17
 */
@Service
public class WebLoginServiceImpl implements IWebLoginService {

    @Autowired
    private IWebLoginDao iWebLoginDao;

    @Override
    public Employee getEmployeeById(String telephone) {
        return iWebLoginDao.getEmployeeById(telephone);
    }

    @Override
    public String[] selectShiro(Integer employeeid) {

        return iWebLoginDao.selectShiro(employeeid);
    }

    @Override
    public String[] selectAll() {
        return iWebLoginDao.selectAll();
    }


}
